﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="slideSelect.aspx.cs" Inherits="Myproject.BSM.PcWeb.PcBase.slideSelect" %>

<div class="bjui-pageHeader">
    
<form runat="server" action="/bsm/ashx/PcBase/SlideSelect.ashx"  id="pc_base_slideselect_form" data-toggle="validate" data-alertmsg="false">
    <input id="pc_base_slideselect_ID" runat="server" name="pc_base_slideselect_ID" type="hidden" value="0" />
    <input id="pc_base_slideselect_slideID" name="pc_base_slideselect_slideID" type="hidden" value="0" />
</form>
</div>
<div class="bjui-pageContent">
    <table data-toggle="tablefixed" data-width="100%">
        <thead>
            <tr>
                <th>幻灯频道名称</th>
                <th>操作</th>
            </tr>
        </thead>
        <tbody>
            <%if (MessageTable != null && MessageTable.Rows.Count > 0)
              {
                              
                  foreach (System.Data.DataRow row in MessageTable.Rows)
                  {%>
            <tr>
                <td ><%= row["SlideName"]%></td>
                <td>
                    <a class="btn btn-blue" href="javascript:pc_base_slideselect_js_select('<%= row["WebSlideID"] %>')">选择</a>
                </td>
            </tr>
            <%
                  }
              } %>
        </tbody>
    </table>
</div>
<div class="bjui-pageFooter">
    <ul>
        <li><button type="button" class="btn-close" data-icon="close">取消</button></li>
    </ul>
</div>
<script>
    function pc_base_slideselect_js_select(slideid) {
        $("#pc_base_slideselect_slideID").val(slideid);
        $("#pc_base_slideselect_form").submit();
    }
</script>
